bpo-33403: Added return_on parameter to asyncio.tasks.wait coro#6679
bpo-33403: Added return_on parameter to asyncio.tasks.wait coro#6679pyneda wants to merge 2 commits intopython:masterfrom
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. When your account is ready, please add a comment in this pull request Thanks again to your contribution and we look forward to looking at it! |
|
CLA should be signed |
1st1
left a comment
There was a problem hiding this comment.
I don't see a motivating use case for this. Please update the issue with one.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be put in the comfy chair! |
Added return_on parameter to asyncio.tasks.wait coroutine in order to be able to set a custom exception or tuple of exceptions to return when return_when parameter is set to FIRST_EXCEPTION.
Uses Exception as default value in order to keep maintaining the actual behaviour of returning when any exception is raised when FIRST_EXCEPTION is used.
https://bugs.python.org/issue33403